package com.example.ymm.model;


import com.example.ymm.modules1.entity.my.sys.SysUser;
import com.example.ymm.modules1.entity.my.user.DbUser;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 用户登录实体
 */

@Data
public class UserLogin  implements Serializable {

    /**
     * user主键
     */
    private String id;

    private String userName;

    private String password;

    //登录端口:1用户司机登录(预留/非必传) 2管理后台登录
    private Integer platform;

    private SysUser sysUser;//platform=2时

    private DbUser dbUser;//platform=1时

    private List<String> roleList=new ArrayList<>();


}
